# -*- coding: utf-8 -*-
from django.contrib import admin
from documents.models import Document, DocCategory

class DocsAdmin(admin.ModelAdmin):
    list_display = ['title', 'category']

admin.site.register(Document, DocsAdmin)

class DocsCategoryAdmin(admin.ModelAdmin):
    list_display = ['title']

admin.site.register(DocCategory, DocsCategoryAdmin)

  